/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package objetosNegocio;

import java.awt.Image;

/**
 *
 * @author QUINTERO
 */
public class Notification {
    
    private int id;
    private Image image;
    private String message;

    public Notification() {
    }

    public Notification(int id) {
        this.id = id;
    }

    public Notification(int id, Image image, String message) {
        this.id = id;
        this.image = image;
        this.message = message;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public Image getImage() {
        return image;
    }

    public void setImage(Image image) {
        this.image = image;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    @Override
    public boolean equals(Object obj) {
        if (obj == null) {
            return false;
        }
        if (getClass() != obj.getClass()) {
            return false;
        }
        final Notification other = (Notification) obj;
        if (this.id != other.id) {
            return false;
        }
        return true;
    }

    @Override
    public int hashCode() {
        int hash = 3;
        hash = 29 * hash + this.id;
        return hash;
    }

    @Override
    public String toString() {
        return "Notification{" + "id=" + id + ", image=" + image + ", message=" + message + '}';
    }
}
